PROJECT(hanabiraagent)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/chanagents)

SET(hanabiraagent_sources
	hanabiraagent.cpp
	hanabiratasksendpost.cpp
	)

SET(hanabiraagent_headers
	hanabiraagent.h
	hanabiratasksendpost.h
	)

QT4_WRAP_CPP(hanabiraagent_moc ${hanabiraagent_headers})

ADD_LIBRARY(hanabiraagent MODULE ${hanabiraagent_sources} ${hanabiraagent_moc})
TARGET_LINK_LIBRARIES(hanabiraagent ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(hanabiraagent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS hanabiraagent LIBRARY DESTINATION ${LIBDIR}/plugins/chanagents)

